package mvc

import (
	Http "../http"
	"../logic"
)

type Controller interface {
	Init(di *logic.DI, request *Http.Request, route *Route)
}

type ControllerBase struct {
	di      *logic.DI
	request *Http.Request
	route   *Route
}

func (base *ControllerBase) Init(di *logic.DI, request *Http.Request, route *Route) {
	base.di = di
	base.request = request
	base.route = route
}
